﻿using System.ComponentModel.DataAnnotations;
using B.S.DataBase.MyProject.Domain.Tickettoticket;
using B.S.DataBase.MyProject.ErrorCode;
using MediatR;

namespace T.E.ERP.Write.API.Applicantions.Command.InvoicesandCommand
{
    /// <summary>
    /// 开票到票添加
    /// 物联网-智能MES生产管理系统-07-开票到票管理V1.1-20250206
    /// </summary>
    public class AddticketsCommand:IRequest<APIResult<object>>
    {

        /// <summary>
        /// 开票到票id
        /// </summary>

        public int Bid { get; set; }


        /// <summary>
        ///开票单号
        /// </summary>
        public string? BillingStae { get; set; }


        /// <summary>
        /// 开票主题
        /// </summary>
        public string? Billingtopic { get; set; }

        /// <summary>
        /// 发票类型
        /// </summary>
        public string? Billingtype { get; set; }


        /// <summary>
        /// 开票日期
        /// </summary>
        public string? BillingDate { get; set; }


        /// <summary>
        /// 销售订单
        /// </summary>
        public bool? Billingsale { get; set; }


        /// <summary>
        /// 收票方
        /// </summary>
        public string? BillTicket { get; set; }



        /// <summary>
        /// 发票号
        /// </summary>
        public string? number { get; set; }


        /// <summary>
        /// 备注
        /// </summary>
        public string? remark { get; set; }



        /// <summary>
        /// 销售订单
        /// </summary>
       public List<OrdersSele> OrdersSeles { get; set; }
    }
}
